package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by elvisxiong on 7/8/15.
 *
 *
 * id
 name
 status
 url
 clazz
 method_name
 group_id
 *
 */
@Setter
@Getter
@NoArgsConstructor
@Table("function")
public class Function implements Serializable {
    //编码
    @Id
    private Long id;
    //功能名称
    //Column:name
    private String name;
    //类名
    //Column:clazz
    private String clazz;
    //方法名
    //Column:method_name
    private String methodName;
    //状态 0 不可用 1可用
    //Column:status
    private Integer status;

}
